package com.example.alipay.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Xiongx
 * @version 1.0
 * @date 2021/4/10 18:24
 * @since JDK 1.8
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("订单")
@Builder
@TableName("payrecord")
public class PayRecord  implements Serializable {

    @TableId("id")
    @ApiModelProperty("主键id")
    private String id;

    @TableField("subject")
    @ApiModelProperty("订单的标题")
    private String subject;

    @TableField("totalmount")
    @ApiModelProperty("订单金额")
    private String totalMount;

    @TableField("out_trade_no")
    @ApiModelProperty("订单号")
    private String outTradeNo;

    @TableField("body")
    @ApiModelProperty("订单描述")
    private String body;

}
